/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

@import "base/environment";

.rs-section {
  padding: 13px 0;
  border-bottom: 1px solid #d0d1d2;
  border-top: 1px solid #f5f5f6;
  position: relative;
  &:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  &:first-child {
    padding-top: 0;
  }
}

#undated-events {
  &.droppable-hover {
    background-color: $droppableBackground;
  }
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .event {
    padding: 0px 4px 1px 4px;
    cursor: move;
    border-radius: 3px;
    margin: 2px 0;
    border: 1px solid;
  }
  .spin_holder {
    display: none;
    float: left;
    width: 22px;
    height: 20px;
    position: relative;
  }
  .undated_event_title {
    color: rgba(0, 0, 0, 0.75);
    @include fontSize(11px);
  }
}

.ui-kyle-menu li {
  min-width: 95px;
}

#calendar-feed-box-lower {
  text-align: center;
  input {
    width: 98%;
  }
}

#context-list-holder {
  padding: 0;
}

#context-list {
  margin: 0;
  padding: 10px 0;
  max-height: 215px;
  overflow-y: auto;
  overflow-x: hidden;
  .context_list_context {
    overflow: inherit;
    list-style: none;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 3px 0;
    cursor: pointer;
    line-height: 22px;
    position: relative;
    &:hover { background: $lightBackground; }
  }
  .context-list-toggle-box {
    width: 11px;
    height: 11px;
    margin: 5px 11px 0 15px;
    float: left;
    border: 1px solid;
  }
  .not-checked {
    color: #888;
    .context-list-toggle-box {
      border-color: #bbbbbb !important;
      background-color: #e6e7e9 !important;
    }
  }
  .context-list-add {
    position: absolute;
    right: 5px;
  }
  .ContextList__MoreBtn {
    float: right;
  }
}
